gtk4.git
11 years agoUpdated French translation
Alexandre Franke [Fri, 12 Sep 2014 16:05:02 +0000 (16:05 +0000)]
Updated French translation

11 years agoAdwaita: theme active-menu buttons
Lapo Calamandrei [Fri, 12 Sep 2014 16:01:58 +0000 (18:01 +0200)]
Adwaita: theme active-menu buttons

11 years agoAdwaita: keep pathbar the same height as imagebuttons
Jakub Steiner [Fri, 12 Sep 2014 12:02:05 +0000 (14:02 +0200)]
Adwaita: keep pathbar the same height as imagebuttons

- the previous patch introduced uneven height on the toolbar

11 years agoAdwaita: better stack switcher logic
Lapo Calamandrei [Fri, 12 Sep 2014 11:46:17 +0000 (13:46 +0200)]
Adwaita: better stack switcher logic

Now the stack switcher buttons look right even when not in the
header-bar.

11 years agoAdwaita: space pathbar better
Jakub Steiner [Fri, 12 Sep 2014 10:57:52 +0000 (12:57 +0200)]
Adwaita: space pathbar better

https://bugzilla.gnome.org/show_bug.cgi?id=736535

11 years agoGtkPlacesSidebar: Fix a memory leak
Ross Lagerwall [Thu, 11 Sep 2014 22:27:33 +0000 (23:27 +0100)]
GtkPlacesSidebar: Fix a memory leak

https://bugzilla.gnome.org/show_bug.cgi?id=736512

11 years agoGtkPlacesSidebar: Don't update bookmark if cancelled
Ross Lagerwall [Thu, 11 Sep 2014 22:25:24 +0000 (23:25 +0100)]
GtkPlacesSidebar: Don't update bookmark if cancelled

If the query fails because it has been cancelled, it means that
dispose() has been called, so don't try and update anything.

This fixes a segfault with Nautilus in certain situations.

https://bugzilla.gnome.org/show_bug.cgi?id=736512

11 years agoGtkPlacesSidebar: Only add shortcut if query succeeds
Ross Lagerwall [Thu, 11 Sep 2014 22:23:55 +0000 (23:23 +0100)]
GtkPlacesSidebar: Only add shortcut if query succeeds

https://bugzilla.gnome.org/show_bug.cgi?id=736512

11 years agoUpdated Korean translation
Changwoo Ryu [Fri, 12 Sep 2014 04:55:01 +0000 (13:55 +0900)]
Updated Korean translation

11 years agoGtkStackSwitcher: More disconnect fixes
Matthias Clasen [Fri, 12 Sep 2014 00:42:12 +0000 (20:42 -0400)]
GtkStackSwitcher: More disconnect fixes

When resetting the stack, don't forget to disconnect signals.

https://bugzilla.gnome.org/show_bug.cgi?id=736307

11 years agoGtkMessageDialog: Minor documentatation update
Matthias Clasen [Thu, 11 Sep 2014 19:48:44 +0000 (15:48 -0400)]
GtkMessageDialog: Minor documentatation update

The message area is no longer a vbox.

11 years agoFinnish translation update by Jiri Grönroos
Ville-Pekka Vainio [Thu, 11 Sep 2014 19:27:22 +0000 (22:27 +0300)]
Finnish translation update by Jiri Grönroos

11 years agoUpdate gtk_compose_seqs_compact[] table for French layout bepo variant.
Takao Fujiwara [Mon, 8 Sep 2014 03:41:48 +0000 (12:41 +0900)]
Update gtk_compose_seqs_compact[] table for French layout bepo variant.

fr(bepo) XKB keymap sends dead_stroke with AltGr+l keys
and gtk-im-simple-context should send '/' with
dead_stroke+dead_stroke keys but gtkimcontextsimpleseqs.h
was not sorted in the descending order and failed to get
dead_stroke.
Also need to add dead_currency for Shift+AltGr+e and
dead_belowcomma for Shift+AltGr+Cedilla.

https://bugzilla.gnome.org/show_bug.cgi?id=736250

11 years agoAdwaita: blue selection mode checks
Lapo Calamandrei [Wed, 10 Sep 2014 18:03:26 +0000 (20:03 +0200)]
Adwaita: blue selection mode checks

...to make them visible in the dark variant, e.g. Boxes.

11 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 10 Sep 2014 10:19:04 +0000 (12:19 +0200)]
Updated Spanish translation

11 years agoAdwaita: remove borders from insensitive flat buttons
Lapo Calamandrei [Tue, 9 Sep 2014 19:34:05 +0000 (21:34 +0200)]
Adwaita: remove borders from insensitive flat buttons

11 years agoGtkStackSwitcher: Disconnect signals when a child is removed
Matthias Clasen [Tue, 9 Sep 2014 18:48:59 +0000 (14:48 -0400)]
GtkStackSwitcher: Disconnect signals when a child is removed

This is quite an oversight, and causes bad things to happen if
the child is later changed.

https://bugzilla.gnome.org/show_bug.cgi?id=736307

11 years agoAdd app-menu.ui to EXTRA_DIST
Руслан Ижбулатов [Tue, 9 Sep 2014 10:28:48 +0000 (10:28 +0000)]
Add app-menu.ui to EXTRA_DIST

11 years agoupdate Punjabi Translation - back for 3.14
A S Alam [Tue, 9 Sep 2014 03:24:10 +0000 (22:24 -0500)]
update Punjabi Translation - back for 3.14

11 years agoFix stray dash addition in previous commit
Colin Walters [Mon, 8 Sep 2014 21:12:45 +0000 (17:12 -0400)]
Fix stray dash addition in previous commit

11 years agoRemove more leftover —es
Matthias Clasen [Mon, 8 Sep 2014 20:48:53 +0000 (16:48 -0400)]
Remove more leftover —es

These were leftover at various places in the documentation.

11 years agoUpdated Galician translations
Fran Diéguez [Mon, 8 Sep 2014 20:09:04 +0000 (22:09 +0200)]
Updated Galician translations

11 years agoFix a missing id in the docs
Matthias Clasen [Mon, 8 Sep 2014 19:23:52 +0000 (15:23 -0400)]
Fix a missing id in the docs

label-text-layout was missing, causing two broken links further
down in the page.

11 years agoInitialize impl_window for foreign W32 windows
Руслан Ижбулатов [Mon, 8 Sep 2014 15:21:00 +0000 (15:21 +0000)]
Initialize impl_window for foreign W32 windows

https://bugzilla.gnome.org/show_bug.cgi?id=736269

11 years agoUpdated Assamese translation
Nilamdyuti Goswami [Mon, 8 Sep 2014 13:52:22 +0000 (13:52 +0000)]
Updated Assamese translation

11 years agoUpdated Czech translation
Marek Černocký [Mon, 8 Sep 2014 11:39:35 +0000 (13:39 +0200)]
Updated Czech translation

11 years agoUpdated gujarati translations
Sweta Kothari [Mon, 8 Sep 2014 10:43:31 +0000 (16:13 +0530)]
Updated gujarati translations

11 years agoUpdated gujarati translations
Sweta Kothari [Mon, 8 Sep 2014 10:31:40 +0000 (16:01 +0530)]
Updated gujarati translations

11 years agoGtkAssistant: Make Escape cancel the assistant
Matthias Clasen [Mon, 8 Sep 2014 04:08:01 +0000 (00:08 -0400)]
GtkAssistant: Make Escape cancel the assistant

This is an expected keybinding, and it is not hard to support.
Note that we use a private ::escape signal instead of using
::cancel directly, since we want to be able to suppress the
cancellation when we are on a progress page.

https://bugzilla.gnome.org/show_bug.cgi?id=579625

11 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Mon, 8 Sep 2014 02:57:57 +0000 (02:57 +0000)]
Updated Brazilian Portuguese translation

11 years agoFix a thinko in adjustment animation
Matthias Clasen [Mon, 8 Sep 2014 02:45:08 +0000 (22:45 -0400)]
Fix a thinko in adjustment animation

The target value is only relevant if we're actually animating.
Don't look at it otherwise.

https://bugzilla.gnome.org/show_bug.cgi?id=736178

11 years agotree view: Fix column drag highlight
Matthias Clasen [Mon, 8 Sep 2014 02:25:23 +0000 (22:25 -0400)]
tree view: Fix column drag highlight

This is a bandaid fix that makes the origin case work again
by switching RGBA window. The arrow case is still unreliable.

https://bugzilla.gnome.org/show_bug.cgi?id=732916

11 years agoLink broadway backend against librt
Matthias Clasen [Mon, 8 Sep 2014 01:30:01 +0000 (21:30 -0400)]
Link broadway backend against librt

This is needed for shm_open, according to its man page.

https://bugzilla.gnome.org//show_bug.cgi?id=698031

11 years agoAvoid criticals when drags end
Matthias Clasen [Mon, 8 Sep 2014 01:24:01 +0000 (21:24 -0400)]
Avoid criticals when drags end

Its seems that gtk_gesture_get_last_event may return NULL,
protect against that to avoid critical warnings.

11 years agoSmall doc improvement
Matthias Clasen [Sun, 7 Sep 2014 02:13:46 +0000 (22:13 -0400)]
Small doc improvement

11 years agoUpdated Latvian translation
Rūdolfs Mazurs [Sun, 7 Sep 2014 14:57:01 +0000 (17:57 +0300)]
Updated Latvian translation

11 years agoBetter thumbnail for GtkTreeView
Matthias Clasen [Sun, 7 Sep 2014 01:59:23 +0000 (21:59 -0400)]
Better thumbnail for GtkTreeView

This one makes it more obvious that it is a tree with multiple
columns and not just multiline text.

https://bugzilla.gnome.org/show_bug.cgi?id=528800

11 years agoinspector: Don't unref NULL objects
Timm Bäder [Sat, 6 Sep 2014 17:46:27 +0000 (19:46 +0200)]
inspector: Don't unref NULL objects

When closing the application window before closing the inspector window,
the selected widget will be set to NULL once and all the property pages
will try to g_object_weak_unref that NULL widget, so bail out in
gtk_inspector_prop_list_set_object if it's NULL.

https://bugzilla.gnome.org/show_bug.cgi?id=736201

11 years agoDon't forget to allocate popovers
Matthias Clasen [Sun, 7 Sep 2014 01:32:53 +0000 (21:32 -0400)]
Don't forget to allocate popovers

When GtkApplicationWindow has a menubar, we don't chain up
to the GtkWindow size_allocate, which used to position the
popovers. Move that to _gtk_window_set_allocation() which
is always called by GtkApplicationWindow.

https://bugzilla.gnome.org/show_bug.cgi?id=736205

11 years agoAvoid compiler warnings
Matthias Clasen [Sun, 7 Sep 2014 01:28:31 +0000 (21:28 -0400)]
Avoid compiler warnings

The previous commit was sloppy with parameter types.

11 years agoGtkCellRendererAccel: Try harder to capture bound keys
Matthias Clasen [Sun, 7 Sep 2014 00:56:03 +0000 (20:56 -0400)]
GtkCellRendererAccel: Try harder to capture bound keys

Add a grab on the editable widget, so that we can capture
also shortcuts which are bound in the application itself.

https://bugzilla.gnome.org/736203

11 years agoUpdated Indonesian translation
Andika Triwidada [Sun, 7 Sep 2014 00:14:08 +0000 (00:14 +0000)]
Updated Indonesian translation

11 years agoUpdated Polish translation
Piotr Drąg [Sun, 7 Sep 2014 00:08:51 +0000 (02:08 +0200)]
Updated Polish translation

11 years agoUpdated POTFILES.skip
Piotr Drąg [Sun, 7 Sep 2014 00:05:35 +0000 (02:05 +0200)]
Updated POTFILES.skip

11 years agowidget: Don't assume opacity is 100%
Benjamin Otte [Sat, 6 Sep 2014 04:41:05 +0000 (06:41 +0200)]
widget: Don't assume opacity is 100%

... just because there is no style context instantiated yet. Instead,
instantiate a style context during realize() and ask it.

Fixes problems with dim labels not being dimmed on first show.

Testcase included.

https://bugzilla.gnome.org/show_bug.cgi?id=735240

11 years agooverlay: Handle overlays when no main widget exists
Benjamin Otte [Sat, 6 Sep 2014 23:52:45 +0000 (01:52 +0200)]
overlay: Handle overlays when no main widget exists

Just pretend that the main widget is an empty widget the size of the
overlay.
Makes it possible to write testcases where no size requests are run on
overlay widgets before size_allocate() is called.

Testcase included.

11 years agotooltip: Fix warning with GtkCellRendererAccel
Bastien Nocera [Fri, 5 Sep 2014 13:22:47 +0000 (15:22 +0200)]
tooltip: Fix warning with GtkCellRendererAccel

(gnome-shell-extension-prefs:22382): GLib-GObject-WARNING **: invalid cast from 'GtkInvisible' to 'GtkWindow'
(gnome-shell-extension-prefs:22382): Gtk-CRITICAL **: gtk_window_set_transient_for: assertion 'parent == NULL || GTK_IS_WINDOW (parent)' failed

 #1  0x00007fffeeb81a12 in g_log (log_domain=log_domain@entry=0x7fffeeea3464 "GLib-GObject", log_level=log_level@entry=G_LOG_LEVEL_WARNING, format=format@entry=0x7fffeeeaa878 "invalid cast from '%s' to '%s'") at gmessages.c:1079
 #2  0x00007fffeee9c2a9 in g_type_check_instance_cast (type_instance=0xb314c0, iface_type=iface_type@entry=9020048) at gtype.c:4021
 #3  0x00007ffff0a06e25 in gtk_tooltip_set_last_window (tooltip=tooltip@entry=0xbb8c10, window=<optimized out>) at gtktooltip.c:910
 #4  0x00007ffff0a08dfd in _gtk_tooltip_handle_event (event=event@entry=0xbf72c0) at gtktooltip.c:1538
 #5  0x00007ffff090d7a9 in gtk_main_do_event (event=0xbf72c0) at gtkmain.c:1785
 #6  0x00007ffff0496ab2 in gdk_event_source_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at gdkeventsource.c:364
 #7  0x00007fffeeb7a8c3 in g_main_dispatch (context=0x807300) at gmain.c:3067

https://bugzilla.gnome.org/show_bug.cgi?id=736131

11 years agoGtkCellRendererAccel: Stop editing on focus out
Matthias Clasen [Sat, 6 Sep 2014 23:01:14 +0000 (19:01 -0400)]
GtkCellRendererAccel: Stop editing on focus out

This is not automatic, and with grabs in place, it is awkward
to have focus moved elsewhere, so stop editing whenever the
cell editable loses focus.

11 years agoGtkCellRendererAccel: rework the grabbing
Matthias Clasen [Sat, 6 Sep 2014 22:23:37 +0000 (18:23 -0400)]
GtkCellRendererAccel: rework the grabbing

Grab keyboard/mouse on the toplevel, and grab the focus to the
cell editable, so we actually see the key events.

11 years agoRemove an unneeded include
Matthias Clasen [Sat, 6 Sep 2014 21:12:13 +0000 (17:12 -0400)]
Remove an unneeded include

11 years agotestaccel: Add another focus location
Matthias Clasen [Sat, 6 Sep 2014 20:30:59 +0000 (16:30 -0400)]
testaccel: Add another focus location

It turns out GtkCellRendererAccel does not deal well with focus
being elsewhere. Adding an entry here makes this much easier to
reproduce.

11 years agotestaccel: Handle accel-cleared
Matthias Clasen [Sat, 6 Sep 2014 20:28:15 +0000 (16:28 -0400)]
testaccel: Handle accel-cleared

11 years agoRevert "gtkcellrendereraccel: Use a GtkInvisible to grab on"
Matthias Clasen [Sat, 6 Sep 2014 20:04:41 +0000 (16:04 -0400)]
Revert "gtkcellrendereraccel: Use a GtkInvisible to grab on"

This reverts commit fe5402d32ebf7f332a2c5f71b9ae50dcf68892fd.

11 years agoUpdated Swedish translation
Josef Andersson [Sat, 6 Sep 2014 21:10:23 +0000 (21:10 +0000)]
Updated Swedish translation

11 years agoUpdated Swedish translation
Josef Andersson [Sat, 6 Sep 2014 21:07:47 +0000 (21:07 +0000)]
Updated Swedish translation

11 years agoDon't set an input shape unless client-decorated
Matthias Clasen [Sat, 6 Sep 2014 19:43:11 +0000 (15:43 -0400)]
Don't set an input shape unless client-decorated

We were actually setting an input shape larger than the window
in !csd, and this was confusing at least openbox.

https://bugzilla.gnome.org/736064

11 years agoinspector: Fix fallout from function renaming
Matthias Clasen [Sat, 6 Sep 2014 16:47:41 +0000 (12:47 -0400)]
inspector: Fix fallout from function renaming

11 years agoinspector: Show widget allocation
Timm Bäder [Sat, 6 Sep 2014 14:36:05 +0000 (16:36 +0200)]
inspector: Show widget allocation

https://bugzilla.gnome.org/show_bug.cgi?id=736191

11 years agoAdwaita: inhert backdrop selected list rows
Lapo Calamandrei [Sat, 6 Sep 2014 15:14:09 +0000 (17:14 +0200)]
Adwaita: inhert backdrop selected list rows

11 years agoAdwaita: set color on flat buttons in selected list-rows
Lapo Calamandrei [Sat, 6 Sep 2014 15:09:08 +0000 (17:09 +0200)]
Adwaita: set color on flat buttons in selected list-rows

11 years agoAdwaita: better switch on selected list-rows
Lapo Calamandrei [Sat, 6 Sep 2014 15:02:20 +0000 (17:02 +0200)]
Adwaita: better switch on selected list-rows

11 years agoFix a crash in recent chooser DND
Hiroyuki Ito [Sat, 6 Sep 2014 01:02:00 +0000 (01:02 +0000)]
Fix a crash in recent chooser DND

Reported in https://bugzilla.gnome.org/show_bug.cgi?id=736173

11 years agoAdwaita: really fix tooltips background
Lapo Calamandrei [Sat, 6 Sep 2014 14:02:34 +0000 (16:02 +0200)]
Adwaita: really fix tooltips background

See https://bugzilla.gnome.org/show_bug.cgi?id=736155 for details.

11 years agoUpdated Korean translation
Changwoo Ryu [Sat, 6 Sep 2014 09:09:19 +0000 (18:09 +0900)]
Updated Korean translation

11 years agoFix various compiler warnings
Matthias Clasen [Sat, 6 Sep 2014 01:21:49 +0000 (21:21 -0400)]
Fix various compiler warnings

Mostly missing declarations and missing statics.

11 years agoinspector: Fix various compiler warnings
Matthias Clasen [Sat, 6 Sep 2014 00:52:03 +0000 (20:52 -0400)]
inspector: Fix various compiler warnings

Mostly missing declarations and missing statics.

11 years agoGdkFrameClockIdle: Add a missing declaration
Matthias Clasen [Sat, 6 Sep 2014 00:44:22 +0000 (20:44 -0400)]
GdkFrameClockIdle: Add a missing declaration

11 years agoWayland: Fix various compiler warnings
Matthias Clasen [Sat, 6 Sep 2014 00:41:06 +0000 (20:41 -0400)]
Wayland: Fix various compiler warnings

Mostly missing declarations, missing statics and unused functions.

11 years agoBroadway: Fix various compiler warnings
Matthias Clasen [Fri, 5 Sep 2014 23:39:05 +0000 (19:39 -0400)]
Broadway: Fix various compiler warnings

Mostly missing declarations and unused functions.

11 years agoUpdated German translation
Christian Kirbach [Fri, 5 Sep 2014 23:02:03 +0000 (23:02 +0000)]
Updated German translation

11 years agowayland: Don't leak the tmp_keymap
Jasper St. Pierre [Fri, 5 Sep 2014 21:31:44 +0000 (14:31 -0700)]
wayland: Don't leak the tmp_keymap

This is a static variable, so setting it every time will leak the
previous one.

11 years agowayland: Correctly find the keyboard for the keymap
Jasper St. Pierre [Fri, 5 Sep 2014 22:04:21 +0000 (15:04 -0700)]
wayland: Correctly find the keyboard for the keymap

The list of devices was being scanned over incorrectly, causing us to
never actually fetch the keymap from the keyboard, as the keyboard was
the second device in the list, not the first.

This causes us to create a new temporary keymap every time, which is
quite expensive, because it involves parsing the entire XKB
file. Scanning the list correctly will cause us to use the XKB rules
file that was passed to us.

11 years agoAdwaita: Avoid double backgrounds in tooltips
Matthias Clasen [Fri, 5 Sep 2014 18:57:04 +0000 (14:57 -0400)]
Adwaita: Avoid double backgrounds in tooltips

11 years agoMake a warning more informative
Matthias Clasen [Fri, 5 Sep 2014 17:43:17 +0000 (13:43 -0400)]
Make a warning more informative

Since we know what size was too large here, why not say it.

11 years agoGtkIconTheme: Make suffix_from_name NULL-safe
Matthias Clasen [Fri, 5 Sep 2014 17:15:14 +0000 (13:15 -0400)]
GtkIconTheme: Make suffix_from_name NULL-safe

This can happen sometimes with GFileIcons that are
not representable as a local path. Better not to crash
in this case.

11 years agoAdwaita: tooltip fixes
Lapo Calamandrei [Fri, 5 Sep 2014 14:17:00 +0000 (16:17 +0200)]
Adwaita: tooltip fixes

The "too dark" background was caused by box-shadow inherited by
window-frame.csd, so box-shadow: none and the right background
color on tooltip selector.

11 years agoAdwaita: tranlucent shadows inside entries
Lapo Calamandrei [Fri, 5 Sep 2014 13:05:25 +0000 (15:05 +0200)]
Adwaita: tranlucent shadows inside entries

So evo background changing entry doesn't look broken.

11 years agoUpdated Kannada translation
Shankar Prasad [Fri, 5 Sep 2014 12:59:55 +0000 (12:59 +0000)]
Updated Kannada translation

11 years agoscrolling: interpret smooth deltas as pixels on quartz
Jesse van den Kieboom [Fri, 5 Sep 2014 11:38:30 +0000 (13:38 +0200)]
scrolling: interpret smooth deltas as pixels on quartz

This is a temporary workaround for scrolling units being amplified
on quartz, due to the assumption that smooth scrolling deltas are
always in some abstract unit similar to the one from xi2.

A proper solution for the situation is described in bug #736121, but
since we are close to release, this patch solves the issue temporarily.

https://bugzilla.gnome.org/show_bug.cgi?id=736121

11 years agoUpdated gujarati translations
Sweta Kothari [Fri, 5 Sep 2014 10:57:57 +0000 (16:27 +0530)]
Updated gujarati translations

11 years agoUpdated Greek translation
Tom Tryfonidis [Fri, 5 Sep 2014 09:30:43 +0000 (09:30 +0000)]
Updated Greek translation

11 years agoGdkWindow: Remove unused fields
Alexander Larsson [Thu, 4 Sep 2014 19:58:20 +0000 (21:58 +0200)]
GdkWindow: Remove unused fields

clip_region_with_children and layered_region is not used any more,
remove them.

11 years agoUpdated Russian translation
Yuri Myasoedov [Fri, 5 Sep 2014 07:37:04 +0000 (11:37 +0400)]
Updated Russian translation

11 years agoUpdated Russian translation
Yuri Myasoedov [Fri, 5 Sep 2014 07:05:38 +0000 (11:05 +0400)]
Updated Russian translation

11 years agoUpdated French translation (properties)
Claude Paroz [Fri, 5 Sep 2014 06:39:51 +0000 (08:39 +0200)]
Updated French translation (properties)

11 years agoUpdated French translation
Claude Paroz [Thu, 4 Sep 2014 23:07:37 +0000 (23:07 +0000)]
Updated French translation

11 years agoAdwaita: fix inline-toolbar backgrounds
Cosimo Cecchi [Thu, 4 Sep 2014 22:07:54 +0000 (15:07 -0700)]
Adwaita: fix inline-toolbar backgrounds

This was lost in a recent cleanup.

11 years agoFontchooserbutton: baseline-align icon and label
Timm Bäder [Thu, 4 Sep 2014 13:29:56 +0000 (15:29 +0200)]
Fontchooserbutton: baseline-align icon and label

https://bugzilla.gnome.org/show_bug.cgi?id=736056

11 years agoUpdated Hebrew translation
Yosef Or Boczko [Thu, 4 Sep 2014 20:42:43 +0000 (23:42 +0300)]
Updated Hebrew translation

11 years agowidget-factory: remove margin from app-notification
Lapo Calamandrei [Thu, 4 Sep 2014 18:18:31 +0000 (20:18 +0200)]
widget-factory: remove margin from app-notification

11 years agoAdwaita: more translucent tooltips
Lapo Calamandrei [Thu, 4 Sep 2014 18:02:43 +0000 (20:02 +0200)]
Adwaita: more translucent tooltips

11 years agoAdwaita: bottom edge hilight for selection mode buttons
Lapo Calamandrei [Thu, 4 Sep 2014 17:41:47 +0000 (19:41 +0200)]
Adwaita: bottom edge hilight for selection mode buttons

11 years agoAdwaita: in app-notification padding
Lapo Calamandrei [Thu, 4 Sep 2014 17:18:13 +0000 (19:18 +0200)]
Adwaita: in app-notification padding

Adwaita now adds the `right` padding to the app notification, so it
shouldn't be set in the code via margins or whatever.

11 years agoAdwaita: flat colored buttons
Lapo Calamandrei [Thu, 4 Sep 2014 17:13:29 +0000 (19:13 +0200)]
Adwaita: flat colored buttons

11 years agoAdwaita: don't color insensitive `colored` buttons.
Lapo Calamandrei [Thu, 4 Sep 2014 17:02:13 +0000 (19:02 +0200)]
Adwaita: don't color insensitive `colored` buttons.

Insensitive suggested or destructive action buttons make no sense,
so Adwaita doesn't color them.

11 years agoAdwaita: set color on osd backdrop buttons
Lapo Calamandrei [Thu, 4 Sep 2014 16:59:43 +0000 (18:59 +0200)]
Adwaita: set color on osd backdrop buttons

11 years agoentry: Handle touch events on entry icons
Carlos Garnacho [Thu, 4 Sep 2014 13:24:32 +0000 (15:24 +0200)]
entry: Handle touch events on entry icons

Those used to work indirectly due to GtkEntry not setting GDK_TOUCH_MASK,
so pointer emulation would happen on those, but the event handlers on icons
and its icon-pressed/released signals have never been explicitly touch
aware, and this broke since the GDK_TOUCH_MASK can be set indirectly by
GtkGestures.

So make the icon event handler handle touch events, each icon can get hold
of one GdkEventSequence, reacting exclusively to it. This is still not
ported to GtkGesture due to GdkEvent exposure in these icon signals, as
users might expect GDK_2/3BUTTON_PRESS while GtkGesture ignores those.

Also, unset all icon pressed/sequence state on grab-notify, this used to
happen ad-hoc when initiating icon DnD, but that doesn't cut it for
user-defined reasons to initiate a grab (eg. popovers).

https://bugzilla.gnome.org/show_bug.cgi?id=736004

11 years agoAdwaita: big buttons surgey
Lapo Calamandrei [Thu, 4 Sep 2014 13:03:09 +0000 (15:03 +0200)]
Adwaita: big buttons surgey

- cover missing statusses in selection-mode and the like
- button drawing functions cleanup and extension
- remove inline toolbar (ugly) special case not needed anymore
- button selector structure simplification and rationalization
- add back shadow to window control buttons

11 years agotreeview: Run the row dragging gesture on the bubble phase
Carlos Garnacho [Thu, 4 Sep 2014 11:55:39 +0000 (13:55 +0200)]
treeview: Run the row dragging gesture on the bubble phase

This is so signal handlers have an opportunity to undo its effect by
returning GDK_EVENT_STOP on ::button-press-event, just like they used
to do pre-gestures.

https://bugzilla.gnome.org/show_bug.cgi?id=735965

11 years agodnd: Make the drag gesture obey the button mask specified
Carlos Garnacho [Thu, 4 Sep 2014 11:23:26 +0000 (13:23 +0200)]
dnd: Make the drag gesture obey the button mask specified

This was forgotten when making DnD use a GtkGesture in the handlers
attached to the widget in gtk_drag_source_set(). The gesture must obey
the specified button mask, and switch to denied state if the pressed
button isn't part of the given mask.

https://bugzilla.gnome.org/show_bug.cgi?id=735965